package net.zhnb.service;

import java.math.BigDecimal;

import net.zhnb.bean.Tag;
import net.zhnb.bean.TagKey;
import finaler.util.Page;
import finaler.util.PageList;

public interface TagService {
	
    public boolean insert(Tag tag) throws Exception ;

    public boolean deleteByKey(TagKey key) throws Exception ;
    
    public boolean update(Tag tag) throws Exception ;
    
    public Tag findByKey(TagKey key) throws Exception ;
        
	public PageList getPageList(Page page) throws Exception;
	
    public boolean deleteByShowerId(BigDecimal showerId) throws Exception ;
}
